package me.monster.smarttraffic.tool;

import android.util.Log;

import me.monster.smarttraffic.BuildConfig;

/**
 * @description
 * @author: Created jiangjiwei in 2020-02-10 17:57
 */
public class L {

    private static final String TAG = "SmartTraffic";

    public static void d(String tag, String message) {
        if (BuildConfig.DEBUG) {
            Log.d(tag, message);
        }
    }

    public static void d(String message) {
        d(TAG, message);
    }

    public static void i(String tag, String message) {
        if (BuildConfig.DEBUG) {
            Log.i(tag, message);
        }
    }

    public static void i(String message) {
        i(TAG, message);
    }

    public static void e(String tag, String message) {
        if (BuildConfig.DEBUG) {
            Log.e(tag, message);
        }
    }

    public static void e(String message) {
        e(TAG, message);
    }
}
